#!/bin/bash

cd rootfs/

qemu-system-aarch64 -machine virt -cpu cortex-a53 -machine type=virt -nographic -m 1024 -smp 2 -kernel ../linux-4.19.1/arch/arm64/boot/Image -initrd rootfs.cpio.gz -append "root=/dev/ram0 rootfstype=ramfs rdinit=/linuxrc  console=ttyAMA0" -S -s

